package com.qdxwx.data.mapper.course;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
/**
 * CourseMember接口
 * Qdx NetSchool Platform
 * @author qdxwx
 * @updateTime 2022/5/25
 * @description
 */
@Repository
public interface CourseMemberMapper {

    int insertCourseMember(@Param("memberTypeId") long memberTypeId, @Param("courseId") int courseId);

    int countCourseMember(@Param("memberTypeId") long memberTypeId, @Param("courseId") int courseId);

    int deleteCourseMember(@Param("memberTypeId") long memberTypeId, @Param("courseId") int courseId);
}